﻿<UserControl x:Class="BleQua.Controls.ContactsControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d" 
             d:DesignHeight="352" d:DesignWidth="197" Loaded="UserControl_Loaded">
	<Grid>
		<ListView Name="ContactsList">
			<ListView.ItemTemplate>
				<DataTemplate>
					<DockPanel>
						<StackPanel Orientation="Vertical">
							<TextBlock Text="{Binding Path=Nickname}" HorizontalAlignment="Left" VerticalAlignment="Top"></TextBlock>
							<TextBlock Text="{Binding Path=Description}" HorizontalAlignment="Left" VerticalAlignment="Top"></TextBlock>
						</StackPanel>
						<Image Source="{Binding Path=Avatar}" HorizontalAlignment="Right" VerticalAlignment="Top" Width="35" Height="35" Margin="5"></Image>
					</DockPanel>
				</DataTemplate>
			</ListView.ItemTemplate>
		</ListView>
	</Grid>
</UserControl>
